<?php global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } } ?>

		</div><!-- end content area -->
		
		<div id="sidebar">
			
			<?php if($showTabs=="Yes") {?>
			<div class="widget tabsWidget">
				<div id="tabs">
					<div class="tabs">
					<ul class="thetabs">
						<li class="active">Latest</li>
						<li>Tags</li>
						<li>Comments</li>
					</ul>
					</div>
					<div class="panels">
						<div class="panel1 panel active">
							<ul>
								<?php wp_reset_query(); query_posts('showposts=5'); while (have_posts()) : the_post(); ?>
								<li>
									<?php if($thumbScript == "No") { echo get_thumbnail_noTimThumb($post->ID,"70","55", "thumb"); } else { echo '<img src="'.get_thumbnail($post->ID,"70","55") . '" class="thumb" alt="" />'; } ?>
									<p><a href="<?php the_permalink() ?>"><?php the_title() ?></a></p>
									<p class="meta"><?php the_time('F j, Y'); ?></p>
								</li>
								<?php endwhile; ?>
							</ul>
						</div><!-- end panel 1 -->
						<div class="panel2 panel">
							<p><?php wp_tag_cloud('smallest=8&largest=18'); ?></p>
						</div><!-- end panel 2 -->
						<div class="panel3 panel">
							<?php echo getRecentComments(); ?>
						</div><!-- end panel 3 -->
					</div><!-- end panels -->
				</div><!-- end tabs -->
			</div><!-- end widget -->
			<?php } ?>
			
			<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Home Sidebar') ) : ?><?php endif; ?>
			
		</div><!-- end sidebar -->